/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class CostEnum extends StringEnum
{
    public static final String MATERIAL_VALUE = "1";
    public static final String MACHINE_VALUE = "2";
    public static final String PERSONS_VALUE = "4";
    public static final String COSTS_VALUE = "5";

    public static final CostEnum material = new CostEnum("material", MATERIAL_VALUE);
    public static final CostEnum machine = new CostEnum("machine", MACHINE_VALUE);
    public static final CostEnum persons = new CostEnum("persons", PERSONS_VALUE);
    public static final CostEnum costs = new CostEnum("costs", COSTS_VALUE);

    /**
     * construct function
     * @param String costEnum
     */
    private CostEnum(String name, String costEnum)
    {
        super(name, costEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CostEnum getEnum(String costEnum)
    {
        return (CostEnum)getEnum(CostEnum.class, costEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CostEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CostEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CostEnum.class);
    }
}